package br.com.cqipac.dao;

import java.util.List;

import javax.ejb.Remote;
import br.com.cqipac.to.Funcionario;

@Remote
public interface RemoteDao {

	public void persist(Object transientInstance) throws Exception;

	public void remove(Object persistentInstance) throws Exception;

	public Object merge(Object detachedInstance) throws Exception;

	public List list() throws Exception;
	
	public List list(Object searchingInstance, Integer intTipoBusca)
	throws Exception;

	public Object findById(Integer id) throws Exception;
	
	public Object find(Object searchingInstance, Integer intTipoBusca)
			throws Exception;

}